package com.macro.mall.portal.dto.pay.wechat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.Valid;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 微信H5支付请求Dto
 *
 * @author xuyanjun
 * @date 2019-10-08
 */
@Getter
@Setter
@ToString
@Valid
@ApiModel("微信H5支付请求Dto")
public class WeChatH5PayReqDto {

    /**
     * 订单id
     */
    @ApiModelProperty("订单id")
    @NotNull(message = "订单id不能为空。")
    @Min(value = 1, message = "订单id不能为空。")
    private Integer orderId;
}
